home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
326-350
/
disk_342
/
sksh
/
install.doc
< prev
next >
Wrap
Text File
|
1992-05-06
|
6KB
|
265 lines
Installation Guide to
SKsh
A ksh-like Shell for the Amiga
Version 1.4
(Copyright) 1989, 1990
Steve Koren
March 19, 1990
Installing SKsh
This section descibes how to install SKsh. It is vitally
important that all the steps be performed. If they are not,
SKsh will not operate correctly. In addition, SKsh requires
version 1.3 of AmigaDos to operate correctly.
Please examine this file for each release, as it may change at
any time.
1) First, copy the .skshinit and .skshrc files to the
's:' directory. SKsh needs these two files to start
correctly. Their location can be changed by changing
the SKSH: device (see below).
2) Edit your startup-sequence and insert:
assign SKSH: s:
This controls the location in which SKsh looks for the
startup files.
3) Copy the sksh binary itself to a location in your
AmigaDos search path. You can be fairly sure the 'c:'
directory is in your search path. If you have
modified your path, there may be other potential
locations as well.
4) Set the pure bit on the SKsh binary:
protect c:sksh rep
5) Make sure that 't:' points to a fast device suitable
for storing temporary files. A sub-directory on a ram
disk is best. For example,
makedir ram:tmp
assign t: ram:tmp
You will probably want to insert some commands like
these into your startup-sequence, if they are not
already there. SKsh uses temporary files only when
absolutely necessary, but some types of SKsh commands
will not function properly without them (see command
subtitution, for example).
6) SKsh needs a stack size of at least 10000 bytes in
order to run properly. You can manually set the stack
SKsh Amiga Shell Page 2 Installation Guide
size to 10000 bytes using the AmigaDos stack command
before you run SKsh, or you can insert 'stack 10000'
into your startup sequence (recommended). If you do
not have sufficient stack space, SKsh *will* crash.
7) The following files need to be copied to a location
which is in your SKsh search path (although not
necessarily in your AmigaDos search path):
cmp
cp
crc
du
fgrep
grep
head
join
srun
strings
tail
tee
view
wc
window
xd
You can create a directory called "sys:bin" which
contains these commands. The supplied .skshrc file
automatically adds this directory to the search path.
8) This step is optional, but recommended. The default
name for the ram disk is "RAM DISK:". The space will
make some things difficult to do (but not impossible)
in SKsh. I recommend that you change the default name
of the ram disk in your startup-sequence to something
like the following:
relabel ram: RAM_DISK
The only difference is that the space has been
replaced by an underscore, and it will make your life
much easier.
9) Insure that your AmigaDos ENV: device is set up
properly. If you are not sure how to do this, see the
AmigaDos manual.
10) Lastly, you must have arp.library installed in your
system in the LIBS: directory. If you are not sure
how to do this, see the arp documentation. arp is
SKsh Amiga Shell Page 3 Installation Guide
available on most Amiga BBS systems. It is best to
use the most recent available arp.library, since SKsh
will not run correctly with some early versions.
11) The pure bit on the following SKsh external commands
should be set:
cmp
cp
du
head
srun
strings
view
wc
window
xd
This can be accomplished with either the SKsh chmod
command or the AmigaDos protect command.
SKsh Amiga Shell Page 4 Installation Guide